Skip to contentSkip to conversation

New generic buildsystem: lzo enabled or disabled by default?

Openvpn-devel Samuli Seppänen 6 participants 29 messages Mar 16, 2012 – Mar 23, 2012

lore
Share & tools
lore
#0 lore raw

Hi all,

In yesterday's meeting we reviewed this patch

PATCH 39/52 build: proper lzo detection and usage
URL: http://thread.gmane.org/gmane.network.openvpn.devel/5772/focus=5811

The patch was ACKed, but there was disagreement whether LZO should be enabled or disabled by default. Whichever the case, it will only affect people building OpenVPN, not the end-users. Official builds will continue to have LZO support.

Opinions?

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#1 lore raw
Quoted 11 lines · Samuli Seppänen

Hi all,

In yesterday's meeting we reviewed this patch

PATCH 39/52 build: proper lzo detection and usage
URL: http://thread.gmane.org/gmane.network.openvpn.devel/5772/focus=5811

The patch was ACKed, but there was disagreement whether LZO should be enabled or disabled by default. Whichever the case, it will only affect people building OpenVPN, not the end-users. Official builds will continue to have LZO support.

Opinions?

I'll still build Debian packages with LZO support (if I don't forget to set the option when upgrading to the new version).

Since support for LZO is enabled/disabled in runtime configuration, I don't see why disabling it on built time, thus limiting its use later.

Regards,

Alberto

Signature · 5 lines
Alberto Gonzalez Iniesta    | Formación, consultoría y soporte técnico
agi@(inittab.org|debian.org)| en GNU/Linux y software libre
Encrypted mail preferred    | http://inittab.com

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3
#2 lore raw
Quoted 2 lines · Alberto Gonzalez Iniesta

Since support for LZO is enabled/disabled in runtime configuration, I don't see why disabling it on built time, thus limiting its use later.

We are talking about the build. Runtime is irrelevant.

Alon

#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · Alon Bar-Lev
Quoted 3 lines · Alberto Gonzalez Iniesta

Since support for LZO is enabled/disabled in runtime configuration, I don't see why disabling it on built time, thus limiting its use later.

We are talking about the build. Runtime is irrelevant.

Correct. However, this may indirectly have an impact on end users, if the packager is not aware of this change. And as 'enabled' has been the standard so far, forcing you to explicit disable LZO, this change may cause some compatibility issues.

The impact on this change mainly hits packagers on the Linux, *BSD and Solaris packagers platforms - and those who do their own Windows builds.
The official Windows builds we control and can make sure this feature is
enabled.

But let me redirect this discussion slightly. What is the *benefit* of disabling LZO by default?

The argument I see why we should keep it enabled, is that this has been the default since almost the very beginning - it is kind of expected in most environments that LZO support is available.

The benefit I see from disabling it, is that less default dependencies are needed to build it. But it requires awareness to remember to enable this feature when building, to stay compliant with what most end-users expect.

If I could be sure we would not get a rush of "OpenVPN 2.3 doesn't work anymore!"-complaints, I couldn't really care less. But as I fear that many builds *may* break the end-users expectations, I'm more doubtful. Of course, it all depends on the awareness of the packagers. But I'm not really convinced this is the most clever step we do.

Well, I'm torn into both directions, really. And considering LZO compression is in most cases a very useful feature, I'm beginning to lean towards 'enabled as default'. Unless I hear some really compelling reasons why that's a bad idea - except of enforcing builders to make sure lzo libs are installed or they should use --enable-lzo if they want this feature. After all, the LZO feature has been enabled as default at least since the OpenVPN 2.0 era.

Anyhow ... the patch which disables it by default, will be included as it is. If we decide to go back to 'enabled by default' we'll add that as an patch on top of Alon's work. So this is the current situation.

kind regards,

David Sommerseth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9jNm0ACgkQDC186MBRfrru9wCfY0VBkGpuxlkQYgTRm8XUwY0V /CIAnjDzRMAMZuJUghW/e+KSfGk6JgRO
=l3kb
-----END PGP SIGNATURE-----

#4 lore raw
Quoted 4 lines · David Sommerseth

The impact on this change mainly hits packagers on the Linux, *BSD and Solaris packagers platforms - and those who do their own Windows builds. The official Windows builds we control and can make sure this feature is enabled.

Please keep in mind that this is not the only change packager will need to do when this is released.
I rewrote the Gentoo ebuild, in preparation for this.
I rewrote the spec file within the openvpn tree.
When release of beta, a large note should be written for other packagers to update their packages for this version.

Alon.

#5 lore raw
Quoted 7 lines
Quoted 4 lines · David Sommerseth

The impact on this change mainly hits packagers on the Linux, *BSD and Solaris packagers platforms - and those who do their own Windows builds.
The official Windows builds we control and can make sure this feature is
enabled.

Quoted 9 lines

Please keep in mind that this is not the only change packager will need to do when this is released.
I rewrote the Gentoo ebuild, in preparation for this.
I rewrote the spec file within the openvpn tree.
When release of beta, a large note should be written for other packagers to update their packages for this version.

Alon.

Having as much stuff as possible disabled by default and then enabled selectively _feels_ cleaner. But I'm fine with either approach.

Personally, I don't think we'll get many complaints if lzo is disabled by default. As Alon points out, this is not the only thing packagers need to adjust to, so they expect things to work differently. Hopefully this translates to them paying some attention while doing the builds :).

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#6 lore raw

Hi,

Quoted 2 lines · Samuli Seppänen

Having as much stuff as possible disabled by default and then enabled selectively _feels_ cleaner. But I'm fine with either approach.

I think the default should be "what most people are using".

- enable crypto and ssl
- enable lzo

Quoted 4 lines

Personally, I don't think we'll get many complaints if lzo is disabled by default. As Alon points out, this is not the only thing packagers need to adjust to, so they expect things to work differently. Hopefully this translates to them paying some attention while doing the builds :).

It would annoy me a lot to have to remember to add --enable-lzo whenever I build, and I see no compelling reason to change the default.

About the only time you want to disable lzo is if you need to save code space, like on very small embedded systems - and that's the exception, not the common case.

(And I don't see any reason why "the packages that people ship" should be built with non-default options, except "the default options do not make sense, so all the packagers need to change the options")

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#7 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 15 lines

Hi,

Quoted 11 lines · Samuli Seppänen

Having as much stuff as possible disabled by default and then enabled selectively _feels_ cleaner. But I'm fine with either approach.

- enable crypto and ssl
- enable lzo

Quoted 4 lines

I think the default should be "what most people are using".

- enable crypto and ssl
- enable lzo

Everybody made good remarks. That said, let's enable crypto, ssl and lzo by default and get over with this, shall we? Otherwise this discussion will never end :).

- --
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9m7jkACgkQwp2X7RmNIqNJ+ACfVq7DUWRWVJgKyz6PNgL7uNpN FYkAoKXbAOEKXrrw+jCWNw1aRnmGibBy
=rhRm
-----END PGP SIGNATURE-----

#8 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 8 lines · Samuli Seppänen
Quoted 4 lines

I think the default should be "what most people are using".

- enable crypto and ssl - enable lzo

Everybody made good remarks. That said, let's enable crypto, ssl and lzo by default and get over with this, shall we? Otherwise this discussion will never end :).

Agreed. In the end, this seems to make most sense to me too.

I just compared the what we had before and what we will get with the new build system. I see these changes basically, regarding to default feature enabling:

1)    --disable-lzo     >>    --enable-lzo
2)    --disable-pkcs11  >>    --enable-pkcs11
3)    --disable-selinux >>    --enable-selinux

Regarding to 1), I agree making this one default. I also agree that 3) should be a Linux distro responsibility, as that's strictly distro related. Which is also why we have --enable-systemd disabled by default too, as that's also strictly Linux oriented.

When it comes to 2), I'm torn again. This feature requires external libraries, and to have a real use case also specific hardware tokens (Smart Cards + readers or USB tokens which resembles the same features).

AFAIK, the PKCS#11 libraries are default on all Enterprise Linux installations, and many other Linux distributions. I don't know how it is with *BSD and Solaris, but would expect this to be an expected feature in the Windows world.

I'm not going to fight a battle to change the default for PKCS#11 either way. But just wanted to raise attention to this one as well.

On a related note: --enable-iproute2

Should we also expect this to be available on all *nix platforms? iproute2 has been available on most platforms I know of for a very long time, and is superior net-tools in very many ways.

kind regards,

David Sommerseth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9m9esACgkQDC186MBRfrpkYACgmsg0QcAH1QXtqTQE8IihQGfF /rMAoJuiM7i6V9ugXBJpyBGd6SZ/ZA3F
=kLgH
-----END PGP SIGNATURE-----

#9 lore raw

Hi,

Quoted 5 lines · David Sommerseth

On a related note: --enable-iproute2

Should we also expect this to be available on all *nix platforms? iproute2 has been available on most platforms I know of for a very long time, and is superior net-tools in very many ways.

<nitpick>
s/*nix/Linux/, and even there, it's not always installed by default. </nitpick>

I would agree that openvpn should use iproute2 by default on Linux, and the option should be renamed to --disable-iproute2 to get back to the old-style ifconfig/route style behaviour.

Currently, iproute2-or-not is a linux thing, so this would not have an effect on any *BSD (no iproute2) or Solaris (I'm not sure right now
whether OpenSolaris has it, can't check). Solaris buildbot is on my
roadmap... so I can look into this as soon as The Big Merge is done.

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#10 lore raw
In reply to David Sommerseth

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19/03/12 10:01, David Sommerseth wrote:
[...snip...]

Quoted 7 lines

On a related note: --enable-iproute2

Should we also expect this to be available on all *nix platforms? iproute2 has been available on most platforms I know of for a very long time, and is superior net-tools in very many ways.

I've been educated by Gert now, and learned that iproute2 is not common on most Unix based platforms, but is a Linux oriented tool. So this suggestion makes no longer much sense.

kind regards,

David Sommerseth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9m/pUACgkQDC186MBRfrp9fACfUxtNBxtu1UcoehSHhYPA6IEx jyIAnRWq2GrEYgrNH2tPQLxvK8lMcZ2/
=CBwv
-----END PGP SIGNATURE-----

#11 lore raw

Hi,

Quoted 5 lines · David Sommerseth

On 19/03/12 10:01, David Sommerseth wrote:
[...snip...]

Quoted 3 lines

On a related note: --enable-iproute2

Quoted 7 lines
Quoted 3 lines

Should we also expect this to be available on all *nix platforms? iproute2 has been available on most platforms I know of for a very long time, and is superior net-tools in very many ways.

I've been educated by Gert now, and learned that iproute2 is not common on most Unix based platforms, but is a Linux oriented tool. So this suggestion makes no longer much sense.

Actually, I still agree with you that enabling it by default on Linux is the way forward.

(Or hook into the netlink interface directly, but I'm not sure whether this will lead to easier to understand code, and easier to read log files, than what we have now - where you could, for testing, run the commands manually to see which ones cause problems)

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#12 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 15 lines · Gert Doering

Hi,

Quoted 11 lines · David Sommerseth

On 19/03/12 10:01, David Sommerseth wrote: [...snip...]

Quoted 6 lines

On a related note: --enable-iproute2

Should we also expect this to be available on all *nix platforms?
iproute2 has been available on most platforms I know of for a
very long time, and is superior net-tools in very many ways.

I've been educated by Gert now, and learned that iproute2 is not common on most Unix based platforms, but is a Linux oriented tool. So this suggestion makes no longer much sense.

Quoted 7 lines

Actually, I still agree with you that enabling it by default on Linux is the way forward.

(Or hook into the netlink interface directly, but I'm not sure whether this will lead to easier to understand code, and easier to read log files, than what we have now - where you could, for testing, run the commands manually to see which ones cause problems)

I agree, but I consider that a packager responsibility. I don't think we should have different defaults in our build tools based on which platform you build on. That will easily get much more chaotic in the long run to maintain properly, especially if you take into consideration cross compilation (like building Windows binaries on Linux).

kind regards,

David Sommerseth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9nAN8ACgkQDC186MBRfrrebQCff7xbxJBviodB39vE24GwAOsN ZCwAnRrsMaWrUkSY1IPDzk6PJ+gwxLmJ
=ZPFi
-----END PGP SIGNATURE-----

#13 lore raw
Quoted 28 lines · David Sommerseth

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 15 lines · Gert Doering

Hi,

Quoted 11 lines · David Sommerseth

On 19/03/12 10:01, David Sommerseth wrote: [...snip...]

Quoted 6 lines

On a related note: --enable-iproute2

Should we also expect this to be available on all *nix platforms? iproute2 has been available on most platforms I know of for a very long time, and is superior net-tools in very many ways.

I've been educated by Gert now, and learned that iproute2 is not common on most Unix based platforms, but is a Linux oriented tool. So this suggestion makes no longer much sense.

Quoted 7 lines

Actually, I still agree with you that enabling it by default on Linux is the way forward.

(Or hook into the netlink interface directly, but I'm not sure whether this will lead to easier to understand code, and easier to read log files, than what we have now - where you could, for testing, run the commands manually to see which ones cause problems)

Quoted 5 lines

I agree, but I consider that a packager responsibility.  I don't think we should have different defaults in our build tools based on which platform you build on.  That will easily get much more chaotic in the long run to maintain properly, especially if you take into consideration cross compilation (like building Windows binaries on Linux).

The only component that is in question is lzo.
I still think this is packager responsibility, not sure why this is an exception.
But if it will make people happy, I will enable lzo by default. All the other components are optional by they nature, and again it is up to packager to decide what good for his configuration.

Alon.

#14 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 5 lines · Alon Bar-Lev

The only component that is in question is lzo. I still think this is packager responsibility, not sure why this is an exception. But if it will make people happy, I will enable lzo by default. All the other components are optional by they nature, and again it is up to packager to decide what good for his configuration.

Hi Alon,

Okay, based on the discussion on this thread, it makes sense to then flip LZO to be enabled by default.

No need to hurry with any patches, as I can add such a patch on top of everything when the merging is completed. The patch will be submitted to the mailing list when it's ready to be implemented.

kind regards,

David Sommerseth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9rENoACgkQDC186MBRfrrgQACeMmxtZpfPSMciYENjW/RFhwFW 94AAniByWa9kksRL+VCPi6LBGwPiFxah
=DpZp
-----END PGP SIGNATURE-----

#15 lore raw
Quoted 10 lines · David Sommerseth

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 5 lines · Alon Bar-Lev

The only component that is in question is lzo. I still think this is packager responsibility, not sure why this is an exception. But if it will make people happy, I will enable lzo by default. All the other components are optional by they nature, and again it is up to packager to decide what good for his configuration.

Quoted 9 lines

Hi Alon,

Okay, based on the discussion on this thread, it makes sense to then flip LZO to be enabled by default.

No need to hurry with any patches, as I can add such a patch on top of everything when the merging is completed.  The patch will be submitted to the mailing list when it's ready to be implemented.

OK, great.
I will modify the branch with this (rebase) so it won't create additional noise. So you be able to do a clean pull with complete feature set.

Alon.

#16 lore raw
Quoted 22 lines · Alon Bar-Lev
Quoted 10 lines · David Sommerseth

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 5 lines · Alon Bar-Lev

The only component that is in question is lzo. I still think this is packager responsibility, not sure why this is an exception. But if it will make people happy, I will enable lzo by default. All the other components are optional by they nature, and again it is up to packager to decide what good for his configuration.

Quoted 9 lines

Hi Alon,

Okay, based on the discussion on this thread, it makes sense to then flip LZO to be enabled by default.

No need to hurry with any patches, as I can add such a patch on top of everything when the merging is completed.  The patch will be submitted to the mailing list when it's ready to be implemented.

Quoted 5 lines

OK, great.
I will modify the branch with this (rebase) so it won't create additional noise. So you be able to do a clean pull with complete feature set.

Alon.

Ready.
Pull and reset.

Alon.

#17 lore raw
In reply to Alon Bar-Lev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 16 lines · Alon Bar-Lev
Quoted 14 lines · David Sommerseth

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Quoted 5 lines · Alon Bar-Lev

The only component that is in question is lzo. I still think this is packager responsibility, not sure why this is an exception. But if it will make people happy, I will enable lzo by default. All the other components are optional by they nature, and again it is up to packager to decide what good for his configuration.

Hi Alon,

Okay, based on the discussion on this thread, it makes sense to then flip LZO to be enabled by default.

Quoted 8 lines
Quoted 4 lines

No need to hurry with any patches, as I can add such a patch on top of everything when the merging is completed. The patch will be submitted to the mailing list when it's ready to be implemented.

OK, great. I will modify the branch with this (rebase) so it won't create additional noise. So you be able to do a clean pull with complete feature set.

No, I will take this change as an additional patch - as I stated in my previous response. I don't want to base such changes on patches which are already reviewed and ACKed. That invalidates the work queue I'm on already. I'm taking patches from the mailing list, that works very well in my workflow - and it gives a good chance of providing the Acked-by statements in the git log.

kind regards,

David Sommerseth

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9rL74ACgkQDC186MBRfroCqwCgqIzkHlcJ7m3qRLMVFapIcVdj OZgAnAzlHiBtFBanDaO/KBO1MQo8zooU
=+ET7
-----END PGP SIGNATURE-----

#18 lore raw

No.
Please don't take the patches from the mailing list. As I explicitly requested in the past *SEVERAL* times.

I've done minor fixups in my repository.
As you see my work is in good quality and without comments, issues I fixed needs to be fixed in tree as well.

As I requested this approach several times and got no rejection I assumed this is acceptable.

This is a *COMPLETE* show stopper.

If you insist in doing that this way I will resend the patch series to the list.

Alon.

Quoted 49 lines · David Sommerseth

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 16 lines · Alon Bar-Lev
Quoted 14 lines · David Sommerseth

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Quoted 5 lines · Alon Bar-Lev

The only component that is in question is lzo. I still think this is packager responsibility, not sure why this is an exception. But if it will make people happy, I will enable lzo by default. All the other components are optional by they nature, and again it is up to packager to decide what good for his configuration.

Hi Alon,

Okay, based on the discussion on this thread, it makes sense to then flip LZO to be enabled by default.

Quoted 8 lines
Quoted 4 lines

No need to hurry with any patches, as I can add such a patch on top of everything when the merging is completed.  The patch will be submitted to the mailing list when it's ready to be implemented.

OK, great. I will modify the branch with this (rebase) so it won't create additional noise. So you be able to do a clean pull with complete feature set.

No, I will take this change as an additional patch - as I stated in my previous response.  I don't want to base such changes on patches which are already reviewed and ACKed.  That invalidates the work queue I'm on already.  I'm taking patches from the mailing list, that works very well in my workflow - and it gives a good chance of providing the Acked-by statements in the git log.

kind regards,

David Sommerseth

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9rL74ACgkQDC186MBRfroCqwCgqIzkHlcJ7m3qRLMVFapIcVdj OZgAnAzlHiBtFBanDaO/KBO1MQo8zooU
=+ET7
-----END PGP SIGNATURE-----

#19 lore raw

Hello,

I will try to rephrase this in different angle as well.

During the time you made a review and found no issues, I took the time for reviewing my own code and further test, and I found issues to be fixed, sent the patches to me back to review.

Just think of it as another developer would have found issue which caused patch resubmit.

The fact that I did find issues while nobody else found means that I am doing good job in reviewing as well :)

You should take the branch as-is, unless you have explicit comments for the quality of the code and/or solution.

Alon.

Quoted 69 lines · Alon Bar-Lev

No.
Please don't take the patches from the mailing list. As I explicitly requested in the past *SEVERAL* times.

I've done minor fixups in my repository.
As you see my work is in good quality and without comments, issues I fixed needs to be fixed in tree as well.

As I requested this approach several times and got no rejection I assumed this is acceptable.

This is a *COMPLETE* show stopper.

If you insist in doing that this way I will resend the patch series to the list.

Alon.

Quoted 49 lines · David Sommerseth

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 16 lines · Alon Bar-Lev
Quoted 14 lines · David Sommerseth

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Quoted 5 lines · Alon Bar-Lev

The only component that is in question is lzo. I still think this is packager responsibility, not sure why this is an exception. But if it will make people happy, I will enable lzo by default. All the other components are optional by they nature, and again it is up to packager to decide what good for his configuration.

Hi Alon,

Okay, based on the discussion on this thread, it makes sense to then flip LZO to be enabled by default.

Quoted 8 lines
Quoted 4 lines

No need to hurry with any patches, as I can add such a patch on top of everything when the merging is completed.  The patch will be submitted to the mailing list when it's ready to be implemented.

OK, great. I will modify the branch with this (rebase) so it won't create additional noise. So you be able to do a clean pull with complete feature set.

No, I will take this change as an additional patch - as I stated in my previous response.  I don't want to base such changes on patches which are already reviewed and ACKed.  That invalidates the work queue I'm on already.  I'm taking patches from the mailing list, that works very well in my workflow - and it gives a good chance of providing the Acked-by statements in the git log.

kind regards,

David Sommerseth

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9rL74ACgkQDC186MBRfroCqwCgqIzkHlcJ7m3qRLMVFapIcVdj OZgAnAzlHiBtFBanDaO/KBO1MQo8zooU
=+ET7
-----END PGP SIGNATURE-----

#20 lore raw
In reply to Alon Bar-Lev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Alon,

Are you saying that there's no way you can generate a series of fixes (=patches) that apply on top of your previous patches? Or, if the fixes are fairly trivial, you could provide a diff of the old and new trees and explain what changes are included. Then the new tree could be pulled as-is.

- --
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

Quoted 8 lines

No.
Please don't take the patches from the mailing list. As I explicitly requested in the past *SEVERAL* times.

I've done minor fixups in my repository.
As you see my work is in good quality and without comments, issues I fixed needs to be fixed in tree as well.

Quoted 6 lines

As I requested this approach several times and got no rejection I assumed this is acceptable.

This is a *COMPLETE* show stopper.

If you insist in doing that this way I will resend the patch series to

the list.

Quoted 40 lines

Alon.

On Thu, Mar 22, 2012 at 3:57 PM, David Sommerseth
<[email protected]...> wrote:

Quoted 16 lines · Alon Bar-Lev
Quoted 16 lines
Quoted 16 lines
Quoted 14 lines · David Sommerseth

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Quoted 5 lines · Alon Bar-Lev

The only component that is in question is lzo. I still think this is packager responsibility, not sure why this is an exception. But if it will make people happy, I will enable lzo by default. All the other components are optional by they nature, and again it is up to packager to decide what good for his configuration.

Hi Alon,

Okay, based on the discussion on this thread, it makes sense to then flip LZO to be enabled by default.

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

No need to hurry with any patches, as I can add such a patch on top of everything when the merging is completed. The patch will be submitted to the mailing list when it's ready to be implemented.

OK, great. I will modify the branch with this (rebase) so it won't create additional noise. So you be able to do a clean pull with complete feature set.

No, I will take this change as an additional patch - as I stated in my previous response. I don't want to base such changes on patches which are already reviewed and ACKed. That invalidates the work queue I'm on already. I'm taking patches from the mailing list, that works very well in my workflow - and it gives a good chance of providing the Acked-by statements in the git log.

Quoted 4 lines

kind regards,

David Sommerseth

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9scUIACgkQwp2X7RmNIqOJXgCeIg5I9bFheKZAsOlVu+X2tt+d YZQAnA2OE75kTWbrszdeni1jnc5ESIlg
=kb/l
-----END PGP SIGNATURE-----

#21 lore raw
In reply to Alon Bar-Lev
Quoted 6 lines · Alon Bar-Lev
Quoted 2 lines · Alberto Gonzalez Iniesta

Since support for LZO is enabled/disabled in runtime configuration, I don't see why disabling it on built time, thus limiting its use later.

We are talking about the build.

I know.

Quoted 1 line

Runtime is irrelevant.

Sure. Specially after you build a package that no longer supports a feature present before.

Signature · 5 lines
Alberto Gonzalez Iniesta    | Formación, consultoría y soporte técnico
agi@(inittab.org|debian.org)| en GNU/Linux y software libre
Encrypted mail preferred    | http://inittab.com

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3
#22 lore raw
In reply to Samuli Seppänen

Hello,

Part of the reasoning was discussed here[1].

If we do not want to do auto detection, enabling optional components may lead to configure failure, and force the user to explicitly disable this feature.

It is possible, and I don't mind so much, however, I prefer configure to use the minimum absolutely needed components by default, and in majority of valid cases succeed.

Disabling by default does not effect users nor building via build script nor building via package management (rpmbuild, deb). It only effects people who build manually from sources. These people should not only consider the lzo enable/disable but many more configure options so lzo is no exception.

Alon.

[1] http://thread.gmane.org/gmane.network.openvpn.devel/5772/focus=5811

2012/3/16 Samuli Seppänen <[email protected]...>:

Quoted 27 lines

Hi all,

In yesterday's meeting we reviewed this patch

PATCH 39/52 build: proper lzo detection and usage
 URL: http://thread.gmane.org/gmane.network.openvpn.devel/5772/focus=5811

The patch was ACKed, but there was disagreement whether LZO should be enabled or disabled by default. Whichever the case, it will only affect people building OpenVPN, not the end-users. Official builds will continue to have LZO support.

Opinions?

--
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#23 lore raw

Sorry...
[1] http://thread.gmane.org/gmane.network.openvpn.devel/5772/focus=5947

2012/3/16 Alon Bar-Lev <[email protected]...>:

Quoted 50 lines

Hello,

Part of the reasoning was discussed here[1].

If we do not want to do auto detection, enabling optional components may lead to configure failure, and force the user to explicitly disable this feature.

It is possible, and I don't mind so much, however, I prefer configure to use the minimum absolutely needed components by default, and in majority of valid cases succeed.

Disabling by default does not effect users nor building via build script nor building via package management (rpmbuild, deb). It only effects people who build manually from sources. These people should not only consider the lzo enable/disable but many more configure options so lzo is no exception.

Alon.

[1] http://thread.gmane.org/gmane.network.openvpn.devel/5772/focus=5811

2012/3/16 Samuli Seppänen <[email protected]...>:

Quoted 27 lines

Hi all,

In yesterday's meeting we reviewed this patch

PATCH 39/52 build: proper lzo detection and usage
 URL: http://thread.gmane.org/gmane.network.openvpn.devel/5772/focus=5811

The patch was ACKed, but there was disagreement whether LZO should be enabled or disabled by default. Whichever the case, it will only affect people building OpenVPN, not the end-users. Official builds will continue to have LZO support.

Opinions?

--
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#24 lore raw

Or:
[1] http://permalink.gmane.org/gmane.network.openvpn.devel/5535

2012/3/16 Alon Bar-Lev <[email protected]...>:

Quoted 54 lines

Sorry...
[1] http://thread.gmane.org/gmane.network.openvpn.devel/5772/focus=5947

2012/3/16 Alon Bar-Lev <[email protected]...>:

Quoted 50 lines

Hello,

Part of the reasoning was discussed here[1].

If we do not want to do auto detection, enabling optional components may lead to configure failure, and force the user to explicitly disable this feature.

It is possible, and I don't mind so much, however, I prefer configure to use the minimum absolutely needed components by default, and in majority of valid cases succeed.

Disabling by default does not effect users nor building via build script nor building via package management (rpmbuild, deb). It only effects people who build manually from sources. These people should not only consider the lzo enable/disable but many more configure options so lzo is no exception.

Alon.

[1] http://thread.gmane.org/gmane.network.openvpn.devel/5772/focus=5811

2012/3/16 Samuli Seppänen <[email protected]...>:

Quoted 27 lines

Hi all,

In yesterday's meeting we reviewed this patch

PATCH 39/52 build: proper lzo detection and usage
 URL: http://thread.gmane.org/gmane.network.openvpn.devel/5772/focus=5811

The patch was ACKed, but there was disagreement whether LZO should be enabled or disabled by default. Whichever the case, it will only affect people building OpenVPN, not the end-users. Official builds will continue to have LZO support.

Opinions?

--
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#25 lore raw
In reply to Alon Bar-Lev

Hi,

2012/3/16 Alon Bar-Lev <[email protected]...>:

Quoted 11 lines

If we do not want to do auto detection, enabling optional components may lead to configure failure, and force the user to explicitly disable this feature.

It is possible, and I don't mind so much, however, I prefer configure to use the minimum absolutely needed components by default, and in majority of valid cases succeed.

Disabling by default does not effect users nor building via build script nor building via package management (rpmbuild, deb). It only effects people who build manually from sources.

In my opinion, the build defaults should reflect what the project considers as the recommended defaults - the features we want to see in every typical OpenVPN server and client. Apart from the Windows-binaries, the _source_ is the relevant artefact that gets released as official "OpenVPN" and therefore the defaults in the build system are important.

If we want to avoid confusing compile-time errors, we should present useful and informative warnings to the user at configure-time: "Could not find library X, if you want to compile without support for X, pass --disable-X" or something similar. No need to hide this from the user. (I haven't looked at the build system, so this type of error message might already be present.)

While building a piece of software I often notice additional dependencies based on what configure tells me. This then causes me to install additional dev-packages / libraries before continuing compilation. If we simply cut down the dependencies I'd probably notice a missing feature much later, e.g. while debugging connection problems...

The usual

  $ ./configure
  $ make
  $ make install

... should hold as few surprises as possible, IMHO.

Cheers
Fabian

#26 lore raw
Quoted 3 lines · Fabian Knittel

In my opinion, the build defaults should reflect what the project considers as the recommended defaults - the features we want to see in every typical OpenVPN server and client.

I strongly against that approach.
This is a common mix up between distribution and software project.

A software project provides the possibility of using the software in different configurations.
A distribution is in charge of the "typical" configuration.

Your comment is true for rhel packager, people expect that yum install openvpn will be a "typical" rhel configuration, what exactly this configuration is depends on distribution procedures.

Why is lzo different than PKCS#11 or selinux? Which are "typical"? Mind "typical" is probably different between server and client.

The software project should not make any assumption of its usage, nor enable/disable features for the sake of best practices instead of proper documentation.

Alon.

#27 lore raw

Hi Alon,

2012/3/16 Alon Bar-Lev <[email protected]...>:

Quoted 6 lines
Quoted 3 lines · Fabian Knittel

In my opinion, the build defaults should reflect what the project considers as the recommended defaults - the features we want to see in every typical OpenVPN server and client.

Quoted 6 lines

I strongly against that approach.
This is a common mix up between distribution and software project.

A software project provides the possibility of using the software in different configurations.
A distribution is in charge of the "typical" configuration.

A typical free software project distributes the source as the primary artefact, correct. IMHO it also communicates a set of defaults, especially for software that needs to interact across platforms and architectures. Part of communicating what those defaults are, is done by providing a default build configuration.

A dedicated distribution project (like Gentoo or Debian) is in charge of allowing a set of software to properly run (binary distribution) or compile (source distribution) in combination with all the other available software.
Whether the program is built on a 64 bit processor, where the libraries are to be found, which SSL library is to be used, etc. are questions a distribution may answer for you. Whether to enable encryption or a specific compression mode would be something that the distribution should only fiddle with in special cases (for example if it's an embedded distribution).

I don't want to be able to connect to an OpenVPN server depending on what distribution it was built on.

Quoted 3 lines

Your comment is true for rhel packager, people expect that yum install openvpn will be a "typical" rhel configuration, what exactly this configuration is depends on distribution procedures.

OpenVPN provides a source distribution. People expect configure, make, make install to provide a "typical" OpenVPN configuration.

Quoted 2 lines

Why is lzo different than PKCS#11 or selinux? Which are "typical"? Mind "typical" is probably different between server and client.

It's not. I'm just saying that what we set as a default in the build system is meaningful and should match what we document as the default in the rest of the documentation.

Quoted 3 lines

The software project should not make any assumption of its usage, nor enable/disable features for the sake of best practices instead of proper documentation.

Setting build defaults is a communication device which should be used _in addition_ to other documentation.

Cheers
Fabian

#28 lore raw
In reply to Fabian Knittel

Hi,

Quoted 3 lines · Fabian Knittel

In my opinion, the build defaults should reflect what the project considers as the recommended defaults - the features we want to see in every typical OpenVPN server and client.

Fully seconded.

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...